﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ewell.BizComponent.Reg.UI.VM
{
    /// <summary>
    /// 患者建档
    /// </summary>
    public class ExPaitentVm : NotifyPropertyChanged
    {
        [Description("患者标识")]
        private string _patientId;
        public string patientId
        {
            get
            {
                return _patientId;
            }
            set
            {
                if (value != _patientId)
                {
                    _patientId = value;
                    OnPropertyChanged(nameof(patientId));
                }
            }
        }
        [Description("患者姓名")]
        private string _patientName;
        public string patientName
        {
            get { return _patientName; }
            set
            {
                if (value != _patientName)
                {
                    _patientName = value;
                    OnPropertyChanged(nameof(patientName));
                }
            }
        }
        [Description("门诊号")]
        private string _outPatientCode;
        public string outPatientCode
        {
            get { return _outPatientCode; }
            set
            {
                if (value != _outPatientCode)
                {
                    _outPatientCode = value;
                    OnPropertyChanged(nameof(outPatientCode));
                }
            }
        }
        [Description("住院号")]
        private string _inPatientCode;
        public string inPatientCode
        {
            get { return _inPatientCode; }
            set
            {
                if (_inPatientCode != value)
                {
                    _inPatientCode = value;
                    OnPropertyChanged(nameof(inPatientCode));
                }
            }
        }
        [Description("住院次数")]
        private int? _inPatientCount;
        public int? inPatientCount
        {
            get { return _inPatientCount; }
            set
            {
                if (_inPatientCount != value)
                {
                    _inPatientCount = value;
                    OnPropertyChanged(nameof(inPatientCount));
                }
            }
        }
        [Description("病案号")]
        private string _mrNo;
        public string mrNo
        {
            get { return _mrNo; }
            set
            {
                if (value != _mrNo)
                {
                    _mrNo = value;
                    OnPropertyChanged(nameof(mrNo));
                }
            }
        }
        [Description("手机号码")]
        private string _patientPhoneNo;
        public string patientPhoneNo
        {
            get { return _patientPhoneNo; }
            set
            {
                if (value != _patientPhoneNo)
                {
                    _patientPhoneNo = value;
                    OnPropertyChanged(nameof(patientPhoneNo));
                }
            }
        }
        [Description("身份证号")]
        private string _idNumber;
        public string idNumber
        {
            get { return _idNumber; }
            set
            {
                if (value != _idNumber)
                {
                    _idNumber = value;
                    OnPropertyChanged(nameof(idNumber));
                }
            }
        }
        [Description("联系地址描述")]
        private string _contactAddrDesc;
        public string contactAddrDesc
        {
            get { return _contactAddrDesc; }
            set
            {
                if (value != _contactAddrDesc)
                {
                    _contactAddrDesc = value;
                    OnPropertyChanged(nameof(contactAddrDesc));
                }
            }
        }
        [Description("医保费别标识")]
        private string _insurTypeId;
        public string insurTypeId
        {
            get { return _insurTypeId; }
            set
            {
                if (value != _insurTypeId)
                {
                    _insurTypeId = value;
                    OnPropertyChanged(nameof(insurTypeId));
                }
            }
        }
        [Description("医保费别名称")]
        private string _insurTypeName;
        public string insurTypeName
        {
            get { return _insurTypeName; }
            set
            {
                if (value != _insurTypeName)
                {
                    _insurTypeName = value;
                    OnPropertyChanged(nameof(insurTypeName));
                }
            }
        }
        [Description("出生日期")]
        private DateTime? _birth;
        public DateTime? birth
        {
            get { return _birth; }
            set
            {
                if (value != _birth)
                {
                    _birth = value;
                    OnPropertyChanged(nameof(birth));
                }
            }
        }
        [Description("性别代码")]
        private string _sexCode;
        public string sexCode
        {
            get { return _sexCode; }
            set
            {
                if (value != _sexCode)
                {
                    _sexCode = value;
                    OnPropertyChanged(nameof(sexCode));
                }
            }
        }
        [Description("性别名称")]
        private string _sexName;
        public string sexName
        {
            get { return _sexName; }
            set
            {
                if (value != _sexName)
                {
                    _sexName = value;
                    OnPropertyChanged(nameof(sexName));
                }
            }
        }
    }
}
